<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
<%
	pageContext.setAttribute("info1", "page范围");
	request.setAttribute("info1", "request范围");
	session.setAttribute("info1", "session范围");
	application.setAttribute("info1", "application范围");
%>
<!-- 最后取的是page范围的值 -->
<h1>${info1 }</h1>
</body>
</html>